package com.nsn.das.midas.model.embedded;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Status {
	@Column(name="status",length=20)
	private String description;
	
	public Status() {}
	
	public Status(String status){
		this.description = status;
	}
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	public static Status getInstance(String description) {
		return new Status(description);
	}
}
